#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
#include"MinOperations.h"

int main()
{
	vector<int> v({ 8828, 9581, 49, 9818, 9974, 9869, 9991, 10000, 10000, 10000, 9999, 9993, 9904, 8819, 1231, 6309 });
	Solution s;
	cout << s.minOperations(v, 134365);

	return 0;
}